package org.itboys.mobile.util;

import org.itboys.commons.utils.time.TimeUtils;

import java.util.*;

/**
 * 通过accountId获取某些重要值
 * Created by Administrator on 2017/3/6.
 */
public class TestDate {

    public static void main(String[] args) {
        Calendar calendar = Calendar.getInstance();
        calendar.set(Calendar.HOUR_OF_DAY, 0);
        calendar.set(Calendar.SECOND,0);
        calendar.set(Calendar.MINUTE,0);
        System.out.println(TimeUtils.formatToTime(calendar.getTime()));
      /* for(int i=0;i<3;i++){
           Date now = new Date();
           now.setHours(0);
           now.setMinutes(0);
           now.setSeconds(0);
           System.out.println("----------------");
           for(int j=0;j<2;j++){
               calendar.setTime(now);
               calendar.add(calendar.WEEK_OF_YEAR, j + 1);
               System.out.println(TimeUtils.formatToTime(calendar.getTime()));
           }*/
     /*  }*/

    }



}
